home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / dcpp / save / Comeau_README next >
Encoding:
Text File  |  1993-01-17  |  2.4 KB  |  56 lines

  1.  
  2.             SAS/C VS DICE COMPILATION OF DCPP
  3.  
  4.     * You can create a working executable using SAS/C or DICE to compile
  5.       the source in this directory.  Using DICE is preferable :-) but you
  6.       get SAS/C compilation for free since my source must compile under
  7.       SAS/C for bootstrapping purposes.
  8.  
  9.       Note that you will get a lot of integer mismatch warnings compiling
  10.       with SAS/C.  This is due to that fact that many routines take shorts
  11.       and SAS/C like to warn you that fubar(i + 1) (where i is a short)
  12.       does not math an argument type of short.    Other things like that
  13.       generate warnings too...
  14.  
  15.     * Note the '#ifdef _DCC' lines in direct.c, main.c, and include.c ..
  16.       If DCPP is compiled using SAS/C, certain things are not compiled in:
  17.  
  18.       (1) #pragma DCCOPTS (direct.c)
  19.       (2) version ID / version printout (main.c)
  20.       (3) -unix option to convert path names (e.g. '../fubar', to
  21.       more easily convert unix sources)
  22.  
  23.     * Two source files which are not part of DCPP proper are also
  24.       included for your benefit:
  25.  
  26.       (1) "tokens.h" actually comes from the DC1 source, used by DCPP
  27.       when generating precompiled includes.  It is included here but
  28.       might be changed in the future (that is, things may be added as
  29.       DICE progresses).  Such an occurance could make older DCPP
  30.       executables incompatible.
  31.  
  32.       (2) You might wish to support the unix compatibility option with
  33.       a SAS/C compiled version of DCPP so I have included the
  34.       UnixToAmigaPath() subroutine.
  35.  
  36.     * DCPP is compiled to obtain error messages from a fixed file
  37.       called 'DCC:CONFIG/DICE.ERRORS'.  For your Atari port you will have
  38.       to change this.  CONFIG/DICE.ERRORS is included (you can remove all
  39.       lines except the one's prefixed by 'CP' for the port or, optionally,
  40.       hard-code the errors.  We'll be translating DICE.ERRORS into
  41.       assorted languages.
  42.  
  43.     * WARNING, STDIO, I just noticed that I open everything "r", "w",
  44.       etc... instead of "rb", "wb", etc...  This could be an important
  45.       distinction on the Atari, I don't know.
  46.  
  47.  
  48.         -Matt Dillon    -Bryce Nesbitt       -John Toebes
  49.  
  50.     Obvious Implementations Corp.        Obvious Implementations Corp.
  51.     Cary World Headquarters            Lake Tahoe Retreat
  52.     207 Livingstone Drive            1005 Apollo Way
  53.     Cary, NC  27513                Incline Village, NV  89451
  54.     919-469-4210    ;(Voice)        702-831-8000    ;(Voice)
  55.     919-469-3853    ;(Fax)            702-831-4059    ;(Fax)
  56.